import React, {useEffect} from 'react';
import {View,} from '@tarojs/components';
import {Field, Input} from "@taroify/core"

import styles from './index.module.scss';

const Index: React.FC = () => {

    useEffect(() => {
        load();
    }, []);

    const load = async () => {


    };


    return (
        <View className={styles.page}>
            <Field label="商品总额">
                <Input value={'$4284.00'} readonly/>
            </Field>
            <Field label="运费">
                <Input value={'免运费'} readonly/>
            </Field>
            <Field label="活动优惠">
                <Input value={'-$284.00'} readonly/>
            </Field>
            <Field label="优惠券">
                <Input value={'请选择优惠券'} readonly/>
            </Field>
            <Field label="发票">
                <Input value={'暂不开发票'} readonly/>
            </Field>
            <Field label="订单备注">
                <Input value={'选填'} readonly/>
            </Field>
        </View>
    );
};

export default Index;
